﻿using SqlSugar;

namespace B.S.Material.Domain.BOM
{
    /// <summary>
    /// 子件信息
    /// </summary>
    public class MaterialsChild
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ChildID { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductNamess { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCodess { get; set; }

        /// <summary>
        ///规格型号
        /// </summary>
        public string SpecificationModelss { get; set; }

        /// <summary>
        ///单位
        /// </summary>
        public string Unitss { get; set; }
        /// <summary>
        /// 产品比例
        /// </summary>
        public Decimal ProductRatio { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantityss { get; set; }
        /// <summary>
        /// 产品角色
        /// </summary>
        public string ProductRoless { get; set; }
        /// <summary>
        ///工艺流程
        /// </summary>
        public string ProcessFlowss { get; set; }
        /// <summary>
        /// 耗损率(%)
        /// </summary>
        public Decimal LossRatess { get; set; }
        /// <summary>
        /// 领料方式
        /// </summary>
        public string PickupMethod { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 物料id
        /// </summary>
        //public int BOMID { get; set; }
        //[ForeignKey("BOMID")]
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDel { get; set; }

    }
}
